Skip to content

UIP: Per-File Desk Auto-Sync#89

Draft
mopfel-winrux wants to merge 2 commits into
mainfrom
mw/autosync
Draft

UIP: Per-File Desk Auto-Sync#89
mopfel-winrux wants to merge 2 commits into
mainfrom
mw/autosync

Conversation

@mopfel-winrux

Copy link
Copy Markdown
Collaborator

Draft UIP for per-file desk auto-sync: a desk marked with |autosync is watched by the runtime via filesystem events, changed files sync individually in both directions, and the event log grows in proportion to actual change volume (vs. |autocommit's per-second polling and full-desk restart resends).

Specifies the %wath/%wend task and gifts, runtime watcher behavior (quiescence debouncing, deletion grace), persisted sync state across restarts, and reconciliation semantics: the desk is ground truth for existence, the disk is believed for live edits.

Reference implementation (tested end-to-end on a fake ship):

Specifies %wath/%wend: runtime filesystem watchers for mounted desks,
per-file %into events, reconciliation semantics (desk as ground truth
for existence, disk believed for live edits), and the runtime
heuristics for editor save patterns.

Reference implementation on the mw/autosync branches of urbit/urbit
and urbit/vere.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant